import http from '@/utils/request'
//查询学院列表
export default {
    async getAnnouncementList(param) {
        return await http.get("/api/announcement/list",param)
    },
    async updeteAnnouncementById(params){
        return await http.put("/api/announcement/update",params)
    },
    async addAnnouncement(params){
        return await http.post("/api/announcement/add",params)
    },
    async deleteAnnouncementById(param){
        return await http.delete("/api/announcement/delete",param)
    }
}
